wkd: New command --print-wkd-hash for gpg-wks-client.
authorWerner Koch <wk@gnupg.org>
Fri, 22 Mar 2019 10:40:01 +0000 (11:40 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commitdc0b985cafcf41cd972f9ed54bdd4ec0373a2135
treef845b789727dd38ae73194b2b926644c63ccb1b3
parenta7d4f90e2eabe23f32ae514c377d7448d33055b9
wkd: New command --print-wkd-hash for gpg-wks-client.

* tools/gpg-wks-client.c (aPrintWKDHash): New.
(opts) : Add "--print-wkd-hash".
(main): Implement that command.
(proc_userid_from_stdin): New.
* tools/wks-util.c (wks_fname_from_userid): Add option HASH_ONLY.
(wks_cmd_print_wkd_hash): New.
--

GnuPG-bug-id: 4418
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 64621f1f40c31c7f453da98efb860ff8cf11edbc)

Gbp-Pq: Topic from-2.2.15
Gbp-Pq: Name wkd-New-command-print-wkd-hash-for-gpg-wks-client.patch
doc/wks.texi
tools/gpg-wks-client.c
tools/gpg-wks-server.c
tools/gpg-wks.h
tools/wks-util.c